package com.hd.tiyu.yuejian.Service;

import com.hd.tiyu.yuejian.JavaBean.Item;
import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/11.
 */

public interface ItempoService {
    @GET("lists/mod/Itempos/related/1/posid/1")
    Call<List<Item>> getitempos();

    //报名
    @GET("create/mod/signtrain/")
    Call<String> PeixunItempos(
            @Query("participantname") String participantname,
            @Query("train_id") String train_id,
            @Query("participanttel") String participanttel,
            @Query("adultnum") String adultnum,
            @Query("paytype") String paytype,
            @Query("pay") String pay,
            @Query("paynotice") String paynotice,
            @Query("userid") String userid

    );
//create/mod/signtrain/participantname/郑俊生/train_id/3/participanttel/13889618807/adultnum/1/paytype/1/pay/330/paynotice/pppppp/userid/19

}
